package com.atguigu.qqzone.service;

import com.atguigu.qqzone.pojo.Reply;
import com.atguigu.qqzone.pojo.Topic;

import java.util.List;

public interface ReplyService {
    /**
     * 根据topic id获取关联的所有回复
     * @param topicId 日志id
     * @return 关联的所有回复
     */
    List<Reply> getReplyListByTopicId(Integer topicId);

    void addReply(Reply reply);

    void delReply(Integer replyId);

    void delReplyList(Topic topic);
}
